package com.ssm.service.serviceImpl;

import com.am.base.ServiceImplBase;
import com.ssm.bean.Pool;
import com.ssm.dao.PoolMapper;
import com.ssm.service.PoolService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PoolServiceImpl extends ServiceImplBase<Pool, PoolMapper> implements PoolService {
    @Autowired
    private PoolMapper poolMapper;
    @Override
    public List<Pool> getPoolByToPk(Integer toPk){
        return poolMapper.selectByToPk(toPk);
    }
}
